package ex7;
import java.util.*;
public class test4 {

	public static void main(String[] args) throws Exception{
		Calendar c1=Calendar.getInstance();//抽象类不能实例化
		System.out.println("今天是："+c1.get(Calendar.YEAR)+"年");
	}

}
